#ifndef LINE_H_
#define LINE_H_

#include <oslib/oslib.h>
#include "Resizable2DInterface.h"
#include "Drawing.h"
#include "DrawingCanvas.h"
#include "Color.h"
#include "Types.h"

class Line : public Resizable2DInterface
{
	public:
		virtual ~Line(){}
		Line();
		Line(int _x1, int _y1, int _x2, int _y2, DrawingCanvas *_canvas);
		Line(int _x1, int _y1, int _x2, int _y2, Color c, DrawingCanvas *_canvas);
		
		void setStart(int _x1, int _y1);
		void setEnd(int _x2, int _y2);
		
		Location getStart();
		Location getEnd();
};

#endif /*LINE_H_*/
